package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DancePetSkin 宠物皮肤表1
type DancePetSkin struct {
	Id          int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`                                           // 皮肤id
	PetTypeId   int            `json:"petTypeId" gorm:"column:pet_type_id;type:bigint;default:0;not null;comment:宠物类型id"`       // 宠物类型id 1:猫 2:小精灵
	SkinNo      int64          `json:"skinNo" gorm:"column:skin_no;type:bigint;default:0;not null;comment:皮肤编号"`                // 皮肤编号，散件编号
	SkinQuality int            `json:"skinQuality" gorm:"column:skin_quality;type:bigint;default:0;not null;comment:品质"`        // 皮肤品质
	SkinName    string         `json:"skinName" gorm:"column:skin_name;type:varchar(256);not null;default:'';comment:宠物皮肤名称"`   // 皮肤名称
	SkinIcon    string         `json:"skinIcon" gorm:"column:skin_icon;type:varchar(256);not null;default:'';comment:宠物皮肤icon"` // 皮肤icon
	CreatedId   int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`        // 创建人id
	UpdateId    int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`          // 更新人id
	CreatedAt   time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt   time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt   gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
